package com.digitalchina.lxnsy.sy.channai;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;
import com.digitalchina.lxnsy.sy.baoxianjilu.SeeEarTag3Activity;
import com.digitalchina.lxnsy.sy.changao.SelectEarLabelcgActivity;


public class MilkRecordDetailsActivity extends BaseHtmlActivity {
    private int tag = 0;

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);

        loadUrl("milkRecordDetails");
        setTitle("产奶记录详情");

    }






    @Override
    public void rightOnClick() {

    }

    public class JsApi {


        @JavascriptInterface
        public void milkRecordEdit(Object msg) {
            finish();
            go(MilkRecordEditActivity.class);

        }


        @JavascriptInterface
        public void seeEarTag3(Object msg) {

            go(SeeEarTag3Activity.class);

        }











    }
}
